package Polymorphism2;

public class Dog extends animal{
    @Override
    public void show(){
        System.out.println("这是一只狗");
    }
    public void eat(){
        System.out.println("狗吃骨头");
    }
    public void lookHome(){
        System.out.println("狗在看家");
    }
}
